package cn.sirun.com.fca.account.activity;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.view.WindowManager;

import com.githang.statusbar.StatusBarCompat;
import com.tencent.cloud.uikit.ui.BaseIovActivity;

import cn.sirun.com.fca.account.R;
import cn.sirun.com.fca.account.view.impl.PhoneFlowView;

public class PhoneActivity extends BaseIovActivity {
    private static final String TAG = PhoneActivity.class.getSimpleName();

    private PhoneFlowView mPhoneFlowView = null;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState, @Nullable PersistableBundle
            persistentState) {
        super.onCreate(savedInstanceState, persistentState);
        getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mPhoneFlowView = new PhoneFlowView(this);
        getLifecycle().addObserver(mPhoneFlowView);
        StatusBarCompat.setStatusBarColor(this, getResources().getColor(R.color.login_bg_color));
    }

}
